package com.dao;

import com.pojo.Provider;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ProviderMapper {
    public List<Provider> getProviderByName(String name);
    public List<Provider> getMultiCondition(@Param("proName") String proName,
                                            @Param("address") String address,
                                            @Param("date") String date);
    public List<Provider> getByObjCondition(Provider provider);
    public List<Provider> getByProName(String name);
    public List<Provider> getProWithBill();
    public List<Provider> getProByNameOrAddr(Provider provider);
    public List<Provider> getProByNameOrAddrV2(Provider provider);
    public List<Provider> updateProV2(Provider provider);
    public List<Provider> getProByContact(String[] contacts);
    public List<Provider> getProByContact1(List<String> contacts);
    public List<Provider> mapParam(Map<String, Object> params);
    public Provider getProviderByProCode(String proCode);

}
